package com.yanmaohu.nikita.data.expression;

import com.yanmaohu.nikita.scanner.Token;

/**
 * @author Bright Lee
 */
public final class CharacterExpression extends Expression {

    private String content;

    public CharacterExpression(Token token) {
        super(token.getBeginIndex(), token.getEndIndex());
        this.content = token.getContent();
    }

    public String getContent() {
        return content;
    }

}
